Debian 7.0
Sponsored Link

Set Hostname
2013/05/28
 
The example for setting Hostname of your system.
[1] Change hostname with a commnad (but if rebooting, it will be back).
root@dlp:~#
# display current hostname

dlp
root@dlp:~#
hostname rx-7
# change hostname

root@dlp:~#
rx-7
# changed

[2] Change hostname permanently.
root@dlp:~#
vi /etc/hostname
# change

rx-7
root@dlp:~#
Debian GNU/Linux 7.0 dlp ttyS0
rx-7 login:
# changed

 
Tweet